package cn.learn.service.cargo;

import cn.learn.domain.cargo.Product;
import cn.learn.domain.cargo.ProductExample;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ProductService {

    Product findById(String id);

    void save(Product product);

    void update(Product product);

    void delete(String id);

    PageInfo findAll(ProductExample product, int page, int size);

    void updateByResult(ProductExample productResult);

    List<Map> findqian();
}
